#!/bin/sh

[ -z "$1" ] && {
	echo "usage: $0 FILENAME"
	exit 1
}

set -e

ffmpeg -i "$1" -qscale:v 2 output_%03d.jpg
